﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.DataAccessLayer
{
    [MetadataType(typeof(DKH_Metadata))]
    public partial class DKH
    {
        public Int16? STT { get; set; }
    }
    public partial class DKH_Metadata
    {
        public decimal ID { get; set; }
        public string KH_MA { get; set; }
        public string KH_DVGTVT_MA { get; set; }
        public string KH_TEN { get; set; }
        public string KH_HANGGPLX_MA { get; set; }
        public string KH_HANGDT_MA { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public decimal KH_HANGDT_RANK { get; set; }
        public string KH_SOQDKG { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public Nullable<System.DateTime> KH_NGAYQDKG { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public Nullable<System.DateTime> KH_NGAYKG { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public Nullable<System.DateTime> KH_NGAYBG { get; set; }
        public string KH_MUCTIEUDT { get; set; }
        public Nullable<System.DateTime> KH_NGAYTHI { get; set; }
        public Nullable<System.DateTime> KH_NGAYSH { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_TONGHV { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_SOHVTOTNGHIEP { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_SOHVDUOCCAPGPLX { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_THOIGIANDT { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_SONGAYONKIEMTRA { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_SONGAYTHUCHOC { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_SONGAYNGHILE { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_TONGSONGAY { get; set; }
        public string KH_MOTA { get; set; }
        public string KH_ACTIVE { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public Nullable<decimal> KH_TTXL_MA { get; set; }
        public Nullable<System.DateTime> KH_NGAYNHAP { get; set; }
        public string KH_NGUOINHAP { get; set; }
        public Nullable<System.DateTime> KH_NGAYSUA { get; set; }
        public string KH_NGUOISUA { get; set; }
    }

}
